package com.github.pig.admin.service.zhgl.houseowner;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.github.pig.admin.model.zhgl.house.UnitHouseBean;
import com.github.pig.admin.model.zhgl.houseowner.CurrentUserBean;
import com.github.pig.admin.model.zhgl.houseowner.HouseOwner;
import com.github.pig.admin.util.AjaxJson;

import java.util.List;

/**
 * <p>
 * 业主基本信息表 服务类
 * </p>
 *
 * @author lxm
 * @since 2018-06-20
 */
public interface IHouseOwnerService extends IService<HouseOwner> {

    Page querHouseOwnerGrid(Page<HouseOwner> page, HouseOwner houseOwner);

    List<UnitHouseBean> queryUnitHouse(UnitHouseBean unithouse);

    UnitHouseBean getUnitHouseBean(String buildingName, String unitName, String houseName, String communityId);

    CurrentUserBean getCurrentUserAllInfo(String loginName);

    List<CurrentUserBean> bingCommunityMessage(String loginName);

    void updateUserType(Integer userId);

    AjaxJson invitation(HouseOwner houseOwner);

    AjaxJson delInvitation(HouseOwner houseOwner);
}
